projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
035baa0
)
constraint layout: Notice when guides change
author
Emmanuele Bassi
<ebassi@gnome.org>
Sun, 30 Jun 2019 22:59:04 +0000
(23:59 +0100)
committer
Emmanuele Bassi
<ebassi@gnome.org>
Sun, 30 Jun 2019 23:10:11 +0000
(
00:10
+0100)
We need to queue a resize here.
gtk/gtkconstraintguide.c
patch
|
blob
|
history
diff --git
a/gtk/gtkconstraintguide.c
b/gtk/gtkconstraintguide.c
index 608c253fcec211600cd8e13bb5aa10537588e17b..00fb30eb82e65981fd8e184546a8def2805e517c 100644
(file)
--- a/
gtk/gtkconstraintguide.c
+++ b/
gtk/gtkconstraintguide.c
@@
-166,6
+166,8
@@
gtk_constraint_guide_update_constraint (GtkConstraintGuide *guide,
gtk_constraint_expression_new (guide->values[index]),
GTK_CONSTRAINT_WEIGHT_REQUIRED);
}
+
+ gtk_layout_manager_layout_changed (GTK_LAYOUT_MANAGER (guide->layout));
}
void